<%= javascript_include_tag 'jquery.tools.min' %>
<%= javascript_include_tag 'overlay' %>
<div class="tab_wapper">
  <% if editor? %>
    <%= link_to '添加图案', new_design_path,:class=>"action_add",:style=>"float:right;" %>
  <%  end %>
</div>

<%= render :partial =>'/designs/hot_list',:object=>@designs%>
<div id="pager">
  <%= will_paginate @designs,:prev_label => '«上一页',:next_label => '下一页»' %>
</div>




